<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<title>:: 7Seven | At&eacute; a &uacute;ltima nave ::</title>
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
		<script type="text/javascript" src="js/cc.marcio.js"></script>
	</head>
	<body>
		<div id="wrapper">
			<div id="header"></div>
			<div id="page">
				<div id="content">
					<?php 
							include "classes/Options.php";
							new Options("option");		
					?>
				</div>
				<div id="sidebar">
					<ul>
						<li>
							<h2>Benvindo <?php $user = SecurityManager::getUser();
								$isLogged = false;
								if( $user == null ) {
									echo "Visitante";
								} else {
									echo $user->getName();
									$isLogged = true;
								}
							?></h2>
							<ul>
								<?php if( $isLogged ) { ?>		
									<li><a href="index.php?option=logout">Logout</a></li>
								<?php } else { ?>
									<li><a href="index.php?option=login">Login</a></li>
								<?php } ?>
								<li><a href="index.php?option=7seven">Sobre a 7Seven</a></li>
								<li><a href="index.php?option=meteorus">Sobre o Meteorus</a></li>
								<?php if( !$isLogged ) { ?>
									<li><a href="index.php?option=user">Registro</a></li>
								<?php } ?>	
							</ul>
						</li>
						<?php if( $isLogged ) { ?>
						<li>
							<h2>Ferramentas</h2>
							<ul>
								<li><a href="index.php?option=trafego">Tr&aacute;fego</a></li>
								<li><a href="index.php?option=user">Meus Dados</a></li>
								<li><a href="index.php?option=planet">Meu Planeta</a></li>
								<li><a href="index.php?option=sms">Enviar SMS</a></li>
							</ul>
						</li>
						<?php } ?>
					</ul>
				</div>
			</div>
		</div>
		<div id="footer">
			<p>&copy;2007 All Rights Reserved</p>
		</div>
	</body>
</html>